/**
 * 
 */
package me.myachievements.web.restricted.goal;

import org.apache.wicket.markup.html.panel.FeedbackPanel;

import me.myachievements.persistence.goal.Goal;

import me.myachievements.web.goal.CreateGoalForm;
import me.myachievements.web.goal.CreateGoalFormPanel;
import me.myachievements.web.goal.GoalForm;
import me.myachievements.web.goal.GoalFormPanel;
import me.myachievements.web.restricted.RestrictedPage;

/**
 * @author besseym
 *
 */
public class GoalManagerPage extends RestrictedPage {

	/**
	 * Constructor
	 */
	public GoalManagerPage() {
		
		add(new FeedbackPanel("feedback"));
		
		GoalFormPanel goalFormPanel = new CreateGoalFormPanel("goal_form_panel");
		add(goalFormPanel);
		
		add(new GoalListView("goal"));
	}

}
